
using System.Collections;
using QdbUnit;
using Qdb.Drs.Tests;

namespace Qdb.Drs.Tests
{
	public class CollectionAssert
	{
		public static void AreEqual(IEnumerable expected, IEnumerable actual)
		{
			Iterator4Assert.AreEqual(CollectionAssert.Adapt(expected.GetEnumerator()), CollectionAssert
				.Adapt(actual.GetEnumerator()));
		}

		internal static IEnumerator Adapt(IEnumerator iterator)
		{
			return ReplicationTestPlatform.Adapt(iterator);
		}
	}
}
